package ywpt.model;

import java.util.HashSet;
import java.util.Set;


public class PaymentContract implements java.io.Serializable  {

	/**
	 * ��������Ϣ
	 */
	private static final long serialVersionUID = -3765144030657979681L;
	private Long id;
	private ContractType type;
	private String paymentCode;
	private ProviderInfo provider;
	private String contents;
	private Double amount;
	private Double hasPay;
	private String information;
	private int		state;//1 未付款2部分付款3完成付款
	private String remark;
	
	private Set<PaymentReceive> preceives = new HashSet<PaymentReceive>(0);
	
	public Set<PaymentReceive> getPreceives() {
		return preceives;
	}
	public void setPreceives(Set<PaymentReceive> preceives) {
		this.preceives = preceives;
	}
	public Double getAmount() {
		return amount;
	}
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	public Double getHasPay() {
		return hasPay;
	}
	public void setHasPay(Double hasPay) {
		this.hasPay = hasPay;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public ProviderInfo getProvider() {
		return provider;
	}
	public void setProvider(ProviderInfo provider) {
		this.provider = provider;
	}
	public String getContents() {
		return contents;
	}
	public void setContents(String contents) {
		this.contents = contents;
	}
 
	public String getInformation() {
		return information;
	}
	public void setInformation(String information) {
		this.information = information;
	}
	public String getPaymentCode() {
		return paymentCode;
	}
	public void setPaymentCode(String paymentCode) {
		this.paymentCode = paymentCode;
	}
	public ContractType getType() {
		return type;
	}
	public void setType(ContractType type) {
		this.type = type;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
 
 
}
